// 表示引入了utils下的request.js文件
import request from '@/utils/request'

export default {
  // -------------------------------------------
  selectListAnno(userId, current, limit, searchObj) {
    return request({
      url: `/eduservice/announcement/selectListAnno/` + userId + `/` + current + `/` + limit,
      method: 'post',
      data: searchObj,
    })
  },
  // 根据公告id查看公告基本信息
  selectInfo(annoId) {
    return request({
      url: `/eduservice/announcement/selectInfo/` + annoId,
      method: 'get',
    })
  },
  // 点击确认阅读公告
  confirm(annoId){
    return request({
      url: `/eduservice/user-announce-tags/confirm/` + annoId,
      method: 'get',
    })
  }

}